<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<fmt:setBundle basename="bundles.railroadIndexBundle" />

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><fmt:message key="register.login"></fmt:message></title>
</head>

<body>

<c:set var="notAdmin" value="${sessionScope['notAdmin'] }"></c:set>

<c:if test="${not empty notAdmin }">
	<h1 align="center"><fmt:message key="register.admin"></fmt:message></h1>
</c:if>

<form method="post" action="login.do">
<table width="50%" align="center">
	<tr>
		<td align="left"><a href="/index.do"><fmt:message
			key="index.title.site"></fmt:message></a></td>
	</tr>
	<tr>

		<table align="center">
			<tbody>
				<tr>
					<td><fmt:message key="register.login"></fmt:message></td>
					<td><input type="text" name="login"></td>
				</tr>
				<tr>
					<td><fmt:message key="register.password"></fmt:message></td>
					<td><input type="password" name="password"></td>
				</tr>
				<tr>
					<td align="center">
					<button type="submit"><fmt:message
						key="index.authorization"></fmt:message></button>
					</td>
					<td align="center">
					<button type="reset"><fmt:message key="index.reset"></fmt:message></button>
					</td>
				</tr>
			</tbody>
		</table>
	</tr>
</table>
</form>
</body>
</html>